package com.javase.CS05;

public class test {
    public static void main(String[] args) {
        int arr[]={22,24,76,12,21,33};

        int max = 0;

        for (int i = 0; i < arr.length; i++) {
            if (arr[i]>max){
                max = arr[i];
            }
        }

        System.out.println(max);
    }
}
